MultiFinder Events
MultiFinder Events
The app4Evt is obsolete in System 7 and has been replaced by the OSEvt event.
Therefore, the following description of MultiFinder events applies to earlier
systems only.
Event type app4Evt is reserved by Apple as a way to communicate with
programs that are "MultiFinder aware" and have set one or more of the
MultiFinder control bits in their 'SIZE' resource. On an app4Evt event, the
message field is formatted as:
When the high byte is 0x01, you are getting notification that you are being
suspended or resumed. One reason for this call is to let you move your local
scrap (if any) into the global desk scrap (via PutScrap and SystemEdit).
If message bit 1 is set, you don't need to worry about it.
Note: If the MultiFinderAware" bit of your 'SIZE' resource is set,
you must manually deactivate/activate your front window upon a
suspend/resume event (an activate event is NOT generated for you).
When you call WaitNextEvent, specifying a non-NIL mouseRgn", then the
Event Manager will issue "mouse moved event" whenever the mouse moves
outside of the specified region (the mouse position will be in the where field).
See About MultiFinder for related information.